enum SelectionItemType {
  list,
  block,
}

class SelectionModel {
  late String title;
  String? value;
  String? result;
  String? showResult;
  int level = 0;
  int levelCount = 3;

  List<int> selectedIndexs = [];
  SelectionItemType showType = SelectionItemType.list;
  bool canSearch = false;
  bool canSearchInput = false;
  bool isSelected = false;
  List<SelectionModel> children = [];
  List<SelectionModel>? searchResult;
  String? searchPlaceholder;
  String? searchText;
  Future<String> Function()? searchTap;
  Function()? requestData;
}
